package com.woniuxy.controller;

import com.woniuxy.sender.AckSender;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: 曾令忠
 * @Description:
 * @Date: 2020/7/6 0006-下午 3:52
 */
@RestController
@RequestMapping("/ack")
public class AckController {
    @Autowired
    AckSender ackSender;

    @RequestMapping("/send")
    public String send(){
        ackSender.send("你好");
        return "success";
    }
}
